package com.zkthink.ceres.applet.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zkthink.ceres.applet.common.domin.vo.PageDateTypeIdVo;
import com.zkthink.ceres.applet.homePage.domain.vo.FindServerListVo;
import com.zkthink.ceres.applet.product.domain.entity.AppletProduct;
import org.apache.ibatis.annotations.Param;

/**

@Author cmz
@Date 2024-04-30 13:02
*/
public interface AppletProductMapper extends BaseMapper<AppletProduct> {
    AppletProduct selectById(@Param("id") Long id);

    Page<FindServerListVo> selectAllPricePage(@Param("page") Page<FindServerListVo> appletServerPage, @Param("param") PageDateTypeIdVo pageDateTypeIdVo);

    Page<FindServerListVo> findRecoProduct(Page<FindServerListVo> appletServerPage);
}